﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Framework
{
    public static class RuleConstant
    {
        //-------------------------------------------------------------
        //1 接待
        //-------------------------------------------------------------
        //1.1 4-"同住权限”
        public const string REC_INMATE = "4";

        //1.2 14-”门卡制作“权限
        public const string REC_MAKE_KEYCARD = "14";

        //1.3 15-“打印单据”权限
        public const string REC_PRINT_RECEIPTS = "15";

        //1.4 17-“接待单修改”权限
        public const string REC_MODIFY = "17";

        //1.5 18-“联房”权限
        public const string REC_BIND_SHEETS = "18";

        //1.6 20-“免费升级”权限
        public const string REC_FREE_UPDATE = "20";

        //1.7 21-“入住类别自用”权限
        public const string REC_SELF_ROOM = "21";

        //1.8 22-“入住类别免费”权限
        public const string REC_FREE_ROOM = "22";

        //1.9 23-“入住人关键信息修改”权限
        public const string REC_MODIFY_GUEST_KEY_INFO = "23";

        //1.10 24-“换房”权限
        public const string REC_CHANGE_ROOM = "24";

        //1.11 25-“免费换房”权限
        public const string REC_CHANGE_ROOM_FREE = "25";

        //操作黑名单
        public const string REC_BLACKLIST = "123";

        //1.12 151-“同住主单信息修改”权限
        public const string REC_MODIFY_INMATE_MAIN_INFO = "151";

        //1.13 152-“早餐赠送”权限
        public const string REC_PRESENT_BREAKFAST = "152";

        //1.14 155-“早餐购买”权限
        public const string REC_OPERATE_BREAKFAST = "155";

        // - 新增客人喜好
        public const string REC_INSERT_PREFERENCE = "181";
        // - 修改、删除客人喜好
        public const string REC_MODIFY_PREFERENCE = "182";

        //-------------------------------------------------------------
        //2 夜审
        //-------------------------------------------------------------


        //2.1 72-“系统夜审”权限
        public const string NIGHT_AUDIT = "72";

        //-------------------------------------------------------------
        //3 礼宾服务
        //-------------------------------------------------------------


        //3.1 94-“新增叫醒服务”权限
        public const string CONCIERGE_ADD_NOTIFY = "94";

        //3.2 95-“取消叫醒服务”权限
        public const string CONCIERGE_CANCEL_NOTIFY = "95";

        //3.3 96-“设置电话等级”权限
        public const string CONCIERGE_SET_PHONE_GRADE = "96";

        //3.4 97-“物品借用”权限
        public const string CONCIERGE_LEASE_ITEM = "97";

        //3.5 98-“物品归还”权限
        public const string CONCIERGE_RETURN_ITEM = "98";

        //3.6 99-“物品新增”权限
        public const string CONCIERGE_ADD_NEW_ITEM = "99";

        //3.7 100-“物品删除”权限
        public const string CONCIERGE_DELETE_ITEM = "100";

        //3.8 101-“礼品兑换”权限
        public const string CONCIERGE_BONUS_EXCHANGE = "101";

        //3.9 102-“礼品新增”权限
        public const string CONCIERGE_ADD_NEW_BONUS = "102";

        //3.10 103-“礼品修改”权限
        public const string CONCIERGE_MODIFY_BONUS = "103";

        //3.11 104-“礼品删除”权限
        public const string CONCIERGE_DELETE_BONUS = "104";

        //3.12 105-“新增客诉”权限
        public const string CONCIERGE_ADD_NEW_COMPLAIN = "105";

        //3.13 106-“客诉处理”权限
        public const string CONCIERGE_CLOSE_COMPLAIN = "106";


        //-------------------------------------------------------------
        //4 客房管理
        //-------------------------------------------------------------


        //4.1 69-“房态修改”权限
        public const string ROOM_STATUS_MODIFY = "69";

        //4.2 70-“维修房修改”权限
        public const string ROOM_STATUS_MODIFY_OUT_OF_SERVICE = "70";

        //4.3 71-“临时房修改”权限
        public const string ROOM_STATUS_MODIFY_TEMP_STATUS = "71";


        //-------------------------------------------------------------
        //5 基本设置
        //-------------------------------------------------------------


        //5.1 108-“货币汇率”权限
        public const string CONFIG_EXCHANGE_RATE = "108";

        //5.2 109-“楼层管理”权限
        public const string CONFIG_BUILDING_MANAGE = "109";

        //5.3 110-“房型管理”权限
        public const string CONFIG_ROOM_TYPE_MANAGE = "110";

        //5.4 111-“组织管理”权限
        public const string CONFIG_ORG_MANAGE = "111";

        //5.5 112-“设备管理”权限
        public const string CONFIG_DEVICE_MANAGE = "112";

        //5.6 113-“代码管理”权限
        public const string CONFIG_CODE_MANAGE = "113";

        //5.7 114-“雇员管理”权限
        public const string CONFIG_EMPLOYEE_MANAGE = "114";

        //5.8 115-“权限管理”权限
        public const string CONFIG_ROLE_RULE_MANAGE = "115";

        //5.9 116-“电话计费因子配置”权限
        public const string CONFIG_PHONE_CHARGE_FACTOR_MANAGE = "116";

        //5.10 117-“房间电话设置”权限
        public const string CONFIG_PHONE_ROOM_MANAGE = "117";

        //5.11 118-“特殊卡制作”权限
        public const string CONFIG_SPECIAL_CARD_CREATE = "118";

        //发员工卡
        public const string CONFIG_MAKE_EMPLOYEE_CARD = "119";

        //系统消息管理
        public const string CONFIG_SYSTEM_MESSAGE = "135";

        //酒店初始化
        public const string CONFIG_HOTEL_INIT = "140";

        /// <summary>
        /// --人员查询 156
        /// </summary>

        public const string CONFIG_EMPLOYEE_QUERY = "156";
        /// <summary>
        /// --人员新建 157
        /// </summary>

        public const string CONFIG_EMPLOYEE_CREATE = "157";
        /// <summary>
        /// --人员修改 158
        /// </summary>
        public const string CONFIG_EMPLOYEE_MODIFY = "158";
        /// <summary>
        /// -密码修改 159
        /// </summary>
        public const string CONFIG_EMPLOYEE_MODIFY_PASSWORD = "159";

        /// <summary>
        /// --员工角色修改 160
        /// </summary>
        public const string CONFIG_EMPLOYEE_MODIFY_ROLE = "160";

        /// <summary>
        /// --发员工卡 161
        /// </summary>
        public const string CONFIG_EMPLOYEE_CREATE_CARD = "119";
        /// <summary>
        /// 删除用户 162
        /// </summary>

        public const string CONFIG_EMPLOYEE_DELETE = "162";


        //-------------------------------------------------------------
        //6 预订单相关
        //-------------------------------------------------------------


        //6.1 1-“新增修改预订单”权限
        public const string RES_CREATE_MODIFY_REC_SHEET = "1";

        //6.2 2-“取消预订单”权限
        public const string RES_CANCEL_RES_SHEET = "2";

        //6.3 3-“接待单新增”权限
        public const string RES_CREATE_REC_SHEET = "3";

        //6.4 5-“打印预订单”权限
        public const string RES_PRINT_RES_SHEET = "5";

        //6.5 6-”侯房转预订“权限
        public const string RES_CONVERT_WAIT_TO_RES = "6";

        //6.6 7-”团队合同新增修改“权限
        public const string RES_CREATE_MODIFY_GROUP_CONTRACT = "7";

        //6.7 8-“团队长包合同取消”权限
        public const string RES_CANCEL_GROUP_LONG_TERM_CONTRACT = "8";

        //6.8 9-“长包合同新增修改”权限
        public const string RES_CREATE_MODIFY_LONG_TERM_CONTRACT = "9";


        //-------------------------------------------------------------
        //7 导航栏相关
        //-------------------------------------------------------------


        //7.1 10-“预订查看”权限
        public const string MENU_RES = "10";

        //7.2 11-“接待查看”权限
        public const string MENU_REC = "11";

        //7.3 26-“收银查看”权限
        public const string MENU_CASH = "26";

        //7.4 38-“会员查看”权限
        public const string MENU_MEMBER = "38";

        //7.5 50-“销售查看”权限
        public const string MENU_SAIL = "50";

        //7.6 68-“客房管理查看”权限
        public const string MENU_ROOM = "68";

        //7.7 73-“财务管理查看”权限
        public const string MENU_FINANCIAL = "73";

        //7.8 90-“报表系统查看”权限
        public const string MENU_REPORT = "90";

        //7.9 93-“礼宾服务查看”权限
        public const string MENU_CONCIERGE = "93";

        //7.10 107-“基本设置查看”权限
        public const string MENU_CONFIG = "107";


        //-------------------------------------------------------------
        //8 收银
        //-------------------------------------------------------------


        //8.1 12-"入账“权限
        public const string CASH_ADD_TO_BILL = "12";

        //8.2 13-”账务处理“权限
        public const string CASH_PROCESS_BILL = "13";

        //8.3 16-“打印账单”权限
        public const string CASH_PRINT_BILL = "16";

        //8.4 19-“信用增删改”权限
        public const string CASH_MODIFY_DELETE_CREDIT = "19";

        //8.5 27-“调帐”权限
        public const string CASH_REPEAL_BILL = "27";

        //8.6 28-“冲帐”权限
        public const string CASH_CANCEL_BILL = "28";

        //8.7 29-“分账”权限
        public const string CASH_SPLIT_BILL = "29";

        //8.8 30-“转账”权限
        public const string CASH_TRANSFER_BILL = "30";

        //8.9 31-“退房”权限
        public const string CASH_CHECK_OUT = "31";

        //8.10 32-“临时挂账”权限
        public const string CASH_SUSPEND_BILL = "32";

        //8.11 33-“编辑帐目”权限
        public const string CASH_MODIFY_BILL = "33";

        //8.12 34-“免半日房费”权限
        public const string CASH_FREE_HALF_DAY = "34";

        //8.13 35-“免全天房费“权限
        public const string CASH_FREE_ENTIRE_DAY = "35";

        //8.14 36-“免时租房”权限
        public const string CASH_FREE_HOUR = "36";

        //8.15 37-“转AR帐”权限
        public const string CASH_CONVERT_TO_AR = "37";

        //重新入住
        public const string CASH_RE_OPEN_RCPNSHEET = "121";

        //撤销结帐
        public const string CASH_ROLL_BACK_CHECK_OUT = "122";

        //重新挂账
        public const string CASH_RE_SUSPEND_BILL = "129";


        //-------------------------------------------------------------
        //9 会员管理
        //-------------------------------------------------------------


        //9.1 39-“新增会员”权限
        public const string MEMBER_CREATE_MEMBER = "39";

        //9.2 40-“修改会员”权限
        public const string MEMBER_MODIFY_MEMBER = "40";

        //9.3 41-“会员敏感信息修改”权限
        public const string MEMBER_MODIFY_MEMBER_KEY_INFO = "41";

        //9.4 42-“会员卡赠送”权限
        public const string MEMBER_FREE_MEMBER_CARD = "42";

        //9.5 43-“会员卡升级”权限
        public const string MEMBER_UPDATE_MEMBER_CARD = "43";

        //9.6 44-“会员卡免费升级”权限
        public const string MEMBER_FREE_UPDATE_MEMBER_CARD = "44";

        //9.7 45-“会员卡挂失”权限
        public const string MEMBER_FREEZE_MEMBER_CARD = "45";

        //9.8 46-“旧卡换新卡”权限
        public const string MEMBER_EXCHANGE_OLD_CARD_TO_NEW = "46";

        //9.9 47-“会员卡解冻”权限
        public const string MEMBER_CANCEL_FREEZE_MEMBER_CARD = "47";

        //9.10 48-“会员卡重发”权限
        public const string MEMBER_RE_CREATE_MEMBER_CARD = "48";

        //9.11 49-“会员卡储值”权限
        public const string MEMBER_DEPOSIT = "49";

        //刮刮卡销售
        public const string SCRATCH_CARD_SALE = "125";

        //刮刮卡充值
        public const string SCRATCH_CARD_CHARGE = "126";

        //9.12 146-“公司卡查询”权限
        public const string CORPORATE_CARD_INFO_VIEW = "146";

        //9.13 147-“公司卡发卡”权限
        public const string CORPORATE_CARD_CREATE_CARD = "147";

        //9.14 148-“公司卡信息修改”权限
        public const string CORPORATE_CARD_MODIFY_INFO = "148";

        //9.15 149-“公司卡充值”权限
        public const string CORPORATE_CARD_DEPOSIT = "149";

        //-------------------------------------------------------------
        //10 公关销售
        //-------------------------------------------------------------


        //10.1 51-“浮动价策略添加”权限
        public const string SAIL_CREATE_FLOAT_PRICE = "51";

        //10.2 52-”设置基础房价“权限
        public const string SAIL_CREATE_BASE_PRICE = "52";

        //10.3 53-”基础房价修改“权限
        public const string SAIL_MODIFY_BASE_PRICE = "53";
        //modify by mqpan 2013-1-28 ”基础房价删除“权限
        public const string SAIL_DELETE_BASE_PRICE = "187";

        //10.4 54-”浮动房价修改“权限
        public const string SAIL_MODIFY_FLOAT_PRICE = "54";
        //modify by mqpan 2013-1-28 ”浮动房价删除“权限
        public const string SAIL_DELETE_FLOAT_PRICE = "188";
        //modify by mqpan 2013-2-5 “浮动房价应用”权限
        public const string SAIL_USE_FLOAT_PRICE = "189";

        //10.5 55-”酒店日历添加“权限
        public const string SAIL_CREATE_HOTEL_CALENDAR = "55";

        //10.6 56-”酒店日历删除“权限
        public const string SAIL_DELETE_HOTEL_CALENDAR = "56";

        //10.7 57-“普通房价码新增”权限
        public const string SAIL_CREATE_NORMAL_PRICE = "57";

        //10.8 58-“特殊房价码新增”权限
        public const string SAIL_CREATE_SPECIAL_PRICE = "58";

        //10.9 59-”普通房价码修改“权限
        public const string SAIL_MODIFY_NORMAL_PRICE = "59";

        //10.10 60-”特殊房价码修改“权限
        public const string SAIL_MODIFY_SPECIAL_PRICE = "60";

        //10.11 61-”新增中介“权限
        public const string SAIL_CREATE_AGENT = "61";

        //10.12 62-”中介修改“权限
        public const string SAIL_MODIFY_AGENT = "62";

        //10.13 63-”佣金码添加“权限
        public const string SAIL_CREATE_COMMISSION = "63";

        //10.14 64-”佣金码删除“权限
        public const string SAIL_DELETE_COMMISSION = "64";

        //10.15 65-”中介佣金码新增“权限
        public const string SAIL_CREATE_AGENT_COMMISSION = "65";

        //10.16 66-“中介佣金码修改”权限
        public const string SAIL_MODIFY_AGENT_COMMISSION = "66";

        //10.17 67-“中介佣金码删除”权限
        public const string SAIL_DELETE_AGENT_COMMISSION = "67";


        //-------------------------------------------------------------
        //11 财务管理
        //-------------------------------------------------------------


        //11.1 74-“核销入账”权限
        public const string FINANCIAL_CAV = "74";

        //11.2 75-“应收账核销”权限
        public const string FINANCIAL_CAV_AR = "75";

        //11.3 76-“应收账协议公司新增”权限
        public const string FINANCIAL_CREATE_AR_CONTRACT = "76";

        //11.4 77-“应收账协议公司修改”权限
        public const string FINANCIAL_MODIFY_AR_CONTRACT = "77";

        //11.5 78-”新增应收账帐号“权限
        public const string FINANCIAL_CREATE_AR = "78";

        //11.6 79-“应收账帐号修改”权限
        public const string FINANCIAL_MODIFY_AR = "79";

        //11.7 80-“应收账入押金”权限
        public const string FINANCIAL_AR_ADD_ASSURE = "80";

        //11.8 81-“应收账退押金”权限
        public const string FINANCIAL_AR_RETURN_ASSURE = "81";

        //11.9 82-“新增现付帐”权限
        public const string FINANCIAL_CREATE_CHECKUP_ACCOUNT = "82";

        //11.10 83-“现付帐修改”权限
        public const string FINANCIAL_MODIFY_CHECKUP_ACCOUNT = "83";

        //11.11 84-“现付帐删除”权限
        public const string FINANCIAL_DELETE_CHECKUP_ACCOUNT = "84";

        //11.12 85-“信用卡核销”权限
        public const string FINANCIAL_CREDIT_CAV = "85";

        //11.13 86-“信用卡反核销”权限
        public const string FINANCIAL_CANCEL_CAV = "86";

        //11.14 87-“应收账反核销”权限
        public const string FINANCIAL_AR_CANCEL_CAV = "87";

        //11.15 88-“佣金补录”权限
        public const string FINANCIAL_RE_ADD_COMMISSION = "88";

        //11.16 89-“佣金审核”权限
        public const string FINANCIAL_AUDIT_COMMISSION = "89";

        //11.17 134-AR帐额度5万以上修改
        public const string FINANCIAL_SENIOR_MODIFY_AR_LIMITATION = "134";

        //负数挂账设置
        public const string FINANCIAL_SET_NEGATIVE_AR = "141";

        //AR账储值卡入账
        public const string FINANCIAL_AR_ADD_TO_SAVE_CARD = "142";

        //AR账60账龄权限
        public const string FINANCIAL_SET_ACCOUNT_AGE_60_AR = "143";

        //AR账60以上账龄权限
        public const string FINANCIAL_SET_ACCOUNT_AGE_ABOVE_60_AR = "144";

        //11.18 153-“支汇票核销”权限
        public const string FINANCIAL_CQHP_CAV = "153";

        //11.19 154-“支汇票反核销”权限
        public const string FINANCIAL_CQHP_CANCEL_CAV = "154";

        //-------------------------------------------------------------
        //12 报表系统
        //-------------------------------------------------------------


        //12.1 91-“运营报表查询”权限
        public const string OPERATION_REPORT_VIEW = "91";

        //12.2 92-“财务报表查询”权限
        public const string FINANCIAL_REPORT_VIEW = "92";

        //12.3 145-“店长签阅”权限
        public const string MANAGER_REPORT_SIGN = "145";


        //------------------------------------------------------------
        //13 外挂系统
        //------------------------------------------------------------


        //13.1 150-“酒店基本信息维护”权限
        public const string HOTEL_MODIFY_BASE_INFO = "150";


        public const string IPL_USER_SYNC = "166";
    }
}
